//
//  ManagementDataModel.m
//  YZZX
//
//  Created by Easaa on 15/5/7.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "ManagementDataModel.h"

@implementation ManagementDataModel

-(id)initWithDataManagement:(NSDictionary *)dic
{
    self = [super init];
    if(self)
    {
        if(dic == NULL)
        {
            return NULL;
        }
        self.CreationDate                    = [dic objectForKey:@"CreationDate"];
        //self.IsReaded                        = [dic objectForKey:@"IsReaded"];
        self.LastReplyTime                   = [dic objectForKey:@"LastReplyTime"];
        self.ReceiverName                    = [dic objectForKey:@"ReceiverName"];
        self.SenderName                      = [dic objectForKey:@"SenderName"];
        self.Title                           = [dic objectForKey:@"Title"];
        self.id_massge                       = [[dic objectForKey:@"id"]stringValue];
    }
    
    return self;
    
}



@end
